<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition>
	<p:dataTable var="role" value="#{userModel.current.roles}" rows="20">
		<f:facet name="header">List of Role</f:facet>
		<p:column sortBy="#{role.id}">
			<f:facet name="header">
						id
					</f:facet>
			<h:outputText value="#{role.id}" />
		</p:column>
		<p:column sortBy="#{role.name}">
			<f:facet name="header">
						name
					</f:facet>
			<h:outputText value="#{role.name}" />
		</p:column>

		<p:column>
			<f:facet name="header">
						description
					</f:facet>
			<h:outputText value="#{role.description}" />
		</p:column>
	</p:dataTable>
</ui:composition>

</html>